package cn.sxt.clinic.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2020-06-29
 */
@TableName("t_doctor")
public class Doctor implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "doctor_id", type = IdType.AUTO)
    private Long doctorId;

    private String username;

    private String password;

    private String realname;

    private String gender;

    private Integer age;

    private String phone;

    private String deptName;

    private String jobName;

    private LocalDate registerTime;

    private String level;

    private String doctorExpert;

    private String doctorDesc;

    private String salt;

    private Integer status;


    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public LocalDate getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(LocalDate registerTime) {
        this.registerTime = registerTime;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getDoctorExpert() {
        return doctorExpert;
    }

    public void setDoctorExpert(String doctorExpert) {
        this.doctorExpert = doctorExpert;
    }

    public String getDoctorDesc() {
        return doctorDesc;
    }

    public void setDoctorDesc(String doctorDesc) {
        this.doctorDesc = doctorDesc;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Doctor{" +
        "doctorId=" + doctorId +
        ", username=" + username +
        ", password=" + password +
        ", realname=" + realname +
        ", gender=" + gender +
        ", age=" + age +
        ", phone=" + phone +
        ", deptName=" + deptName +
        ", jobName=" + jobName +
        ", registerTime=" + registerTime +
        ", level=" + level +
        ", doctorExpert=" + doctorExpert +
        ", doctorDesc=" + doctorDesc +
        ", salt=" + salt +
        ", status=" + status +
        "}";
    }
}
